import request from '@/utils/request';

export async function reqTyWarehouseOrderMedicineList(data: any, options?: any): Promise<any> {
	return request('/api/sys/warehouseOrderMedicine/list', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqAddTyWarehouseOrderMedicine(data: any, options?: any): Promise<any> {
	return request('/api/sys/warehouseOrderMedicine/create', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqUpdateTyWarehouseOrderMedicine(data: any, options?: any): Promise<any> {
	return request('/api/sys/warehouseOrderMedicine/update', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqDeleteTyWarehouseOrderMedicine(data: any, options?: any): Promise<any> {
	return request('/api/sys/warehouseOrderMedicine/delete', {
		method: 'POST',
		data,
		...(options || {}),
	});
}


